package com.cxx.home.dto.food;

import com.cxx.common.PlainView;
import com.fasterxml.jackson.annotation.JsonView;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@JsonView(PlainView.class)
public class FoodMaterialDto {
    @Schema(description = "id")
    private Long id;

    @Schema(description = "食材类型")
    private String type;

    @Schema(description = "食材名称")
    private String name;

    @Schema(description = "食材分量")
    private String amount;
}
